package cc.lj.internal.merchant.domain.contract.model.vo.convert;

import cc.lj.internal.merchant.domain.contract.model.vo.PropertyRelationDO;
import cc.lj.internal.merchant.infrastructure.po.PropertyRelationPO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 物业资源分类表PO 与 DO之间的转换
 * @author liangxifeng
 * @date 2021-12-11
 */
@Mapper
public interface PropertyRelationPOConvertDO {
    PropertyRelationPOConvertDO INSTANCE = Mappers.getMapper(PropertyRelationPOConvertDO.class);
    //do to po
    PropertyRelationPO convert(PropertyRelationDO relationDO);

    //po to do
    PropertyRelationDO convert(PropertyRelationPO relationPO);
}
